package com.wanshi.utils;

import com.alibaba.fastjson.JSON;

public class AA {

    public static void main(String[] args) {

        //String result = HttpUtils.doGet("http://localhost:8081/aaa/user/52");
        //System.out.println(result);

        User user = new User();
        user.setUsername("a");

        String json = JSON.toJSONString(user);
        String result = HttpUtils.doPost("http://localhost:8081/aaa/user/page/2/3", json);
        System.out.println(result);
    }
}
